package com.cxhc.system.domain.app;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cxhc.common.annotation.Excel;
import com.cxhc.common.core.domain.BaseEntity;

/**
 * 接触警对象 rp_rev_handling
 * 
 * @author Dhq
 * @date 2024-08-13
 */
@Data
@Accessors(chain = true)
public class RpRevHandling
{

    /** $column.columnComment */
    private Long id;

    /** 警情名称 */
    private String name;

    /**  警情类型 */
    private Long type;

    /** 警情类型名 */
    private String typeName;

    /** 位置 */
    private String neighbourhood;

    /** 发布纬度 */
    private Long neighbourhoodLat;

    /** 发布经度 */
    private Long neighbourhoodLng;

    /** 详细地址 */
    private String neighbourhoodAddress;

    /** 巡控人员 */
    private String helpUserName;

    /** 巡控人员 */
    private String helpUserId;

    /** 出警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date acceptTime;

    /** 到达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date arrivedTime;

    /** 警情情况 */
    private String description;

    /** 处理情况（1现场外置，2移送处置，3其他） */
    private Long status;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date addTime;

    /** 添加用户ID */
    private Long addUserId;

    /** 照片 */
    private String photo;

    /** 处理企业 ID */
    private Long entId;

    /** 处理企业 名称 */
    private String entName;

    /** 处理所在区域 ID */
    private Long areaId;

    /** 处理所在区域 名称 */
    private String areaName;

    /** 备注 */
    private String remark;

    /** 处理所在区域 ID */
    private Long plotId;

    /** 处理所在区域 名称 */
    private String plotName;

    /** 处置类型 */
    private Long resultType;

    /** 处置类型名 */
    private String resultTypeName;

    /** 处置结果 */
    private String result;

    /** 处置照片 */
    private String resultPhoto;

    /** 处置人 */
    private Long addResultUserId;

    /** 处置人 */
    private String addResultRealName;

    /** 处置人 */
    private Long addResultEntId;

    /** 处置人 */
    private String addResultEntName;

    /** 处置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date addResultTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    /** 更新人 */
    private Long updateUserId;

    /** 添加人 */
    private String addUserRealName;

    /** 添加用户角色ID */
    private Long addRoleId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setNeighbourhood(String neighbourhood) 
    {
        this.neighbourhood = neighbourhood;
    }

    public String getNeighbourhood() 
    {
        return neighbourhood;
    }
    public void setNeighbourhoodLat(Long neighbourhoodLat) 
    {
        this.neighbourhoodLat = neighbourhoodLat;
    }

    public Long getNeighbourhoodLat() 
    {
        return neighbourhoodLat;
    }
    public void setNeighbourhoodLng(Long neighbourhoodLng) 
    {
        this.neighbourhoodLng = neighbourhoodLng;
    }

    public Long getNeighbourhoodLng() 
    {
        return neighbourhoodLng;
    }
    public void setNeighbourhoodAddress(String neighbourhoodAddress) 
    {
        this.neighbourhoodAddress = neighbourhoodAddress;
    }

    public String getNeighbourhoodAddress() 
    {
        return neighbourhoodAddress;
    }
    public void setHelpUserName(String helpUserName) 
    {
        this.helpUserName = helpUserName;
    }

    public String getHelpUserName() 
    {
        return helpUserName;
    }
    public void setHelpUserId(String helpUserId) 
    {
        this.helpUserId = helpUserId;
    }

    public String getHelpUserId() 
    {
        return helpUserId;
    }
    public void setAcceptTime(Date acceptTime) 
    {
        this.acceptTime = acceptTime;
    }

    public Date getAcceptTime() 
    {
        return acceptTime;
    }
    public void setArrivedTime(Date arrivedTime) 
    {
        this.arrivedTime = arrivedTime;
    }

    public Date getArrivedTime() 
    {
        return arrivedTime;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setAddUserId(Long addUserId) 
    {
        this.addUserId = addUserId;
    }

    public Long getAddUserId() 
    {
        return addUserId;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setEntId(Long entId) 
    {
        this.entId = entId;
    }

    public Long getEntId() 
    {
        return entId;
    }
    public void setEntName(String entName) 
    {
        this.entName = entName;
    }

    public String getEntName() 
    {
        return entName;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setResultType(Long resultType) 
    {
        this.resultType = resultType;
    }

    public Long getResultType() 
    {
        return resultType;
    }
    public void setResultTypeName(String resultTypeName) 
    {
        this.resultTypeName = resultTypeName;
    }

    public String getResultTypeName() 
    {
        return resultTypeName;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setResultPhoto(String resultPhoto) 
    {
        this.resultPhoto = resultPhoto;
    }

    public String getResultPhoto() 
    {
        return resultPhoto;
    }
    public void setAddResultUserId(Long addResultUserId) 
    {
        this.addResultUserId = addResultUserId;
    }

    public Long getAddResultUserId() 
    {
        return addResultUserId;
    }
    public void setAddResultRealName(String addResultRealName) 
    {
        this.addResultRealName = addResultRealName;
    }

    public String getAddResultRealName() 
    {
        return addResultRealName;
    }
    public void setAddResultEntId(Long addResultEntId) 
    {
        this.addResultEntId = addResultEntId;
    }

    public Long getAddResultEntId() 
    {
        return addResultEntId;
    }
    public void setAddResultEntName(String addResultEntName) 
    {
        this.addResultEntName = addResultEntName;
    }

    public String getAddResultEntName() 
    {
        return addResultEntName;
    }
    public void setAddResultTime(Date addResultTime) 
    {
        this.addResultTime = addResultTime;
    }

    public Date getAddResultTime() 
    {
        return addResultTime;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setAddUserRealName(String addUserRealName) 
    {
        this.addUserRealName = addUserRealName;
    }

    public String getAddUserRealName() 
    {
        return addUserRealName;
    }
    public void setAddRoleId(Long addRoleId) 
    {
        this.addRoleId = addRoleId;
    }

    public Long getAddRoleId() 
    {
        return addRoleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("typeName", getTypeName())
            .append("neighbourhood", getNeighbourhood())
            .append("neighbourhoodLat", getNeighbourhoodLat())
            .append("neighbourhoodLng", getNeighbourhoodLng())
            .append("neighbourhoodAddress", getNeighbourhoodAddress())
            .append("helpUserName", getHelpUserName())
            .append("helpUserId", getHelpUserId())
            .append("acceptTime", getAcceptTime())
            .append("arrivedTime", getArrivedTime())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("addTime", getAddTime())
            .append("addUserId", getAddUserId())
            .append("photo", getPhoto())
            .append("entId", getEntId())
            .append("entName", getEntName())
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("resultType", getResultType())
            .append("resultTypeName", getResultTypeName())
            .append("result", getResult())
            .append("resultPhoto", getResultPhoto())
            .append("addResultUserId", getAddResultUserId())
            .append("addResultRealName", getAddResultRealName())
            .append("addResultEntId", getAddResultEntId())
            .append("addResultEntName", getAddResultEntName())
            .append("addResultTime", getAddResultTime())
            .append("updateUserId", getUpdateUserId())
            .append("addUserRealName", getAddUserRealName())
            .append("addRoleId", getAddRoleId())
            .toString();
    }
}
